POV-Ray : Newsgroups : povray.beta-test : Possible bug with cones : Possible bug with cones Server Time
4 Nov 2024 17:33:29 EST (-0500)
  Possible bug with cones  
From: Reactor
Date: 26 Jan 2010 00:55:01
Message: <web.4b5e82d8ec8705cfb7bd161a0@news.povray.org>
This had me scratching my head for quite a bit until I tried it under 3.6.  The
problem seems to be that the second vector for the cone endpoint is incorrectly
transformed, but it only happens when the first parameter is smaller than the
second one.

Here is a minimal scene:

/****************************************************************************
Version: POV-ray 3.6 (official)
Scene Description:  Demo scene demonstrating an issue with cones in POV-ray
    version 3.7 beta 35 (64-bit) (run under Windows XP64)
Written by: Reactor
Date: 25 Jan 2010
****************************************************************************/
#version 3.6;

cone{ <-1,1,1>, 1.0, <-1,1,-1>, 0.5 pigment{ color rgb <1,0,0> } }

cone{ < 1,1,1>, 0.5, < 1,1,-1>, 1.0 pigment{ color rgb <0,0,1> } }

// cone{ < 3,1,-1>, 1.0, < 3,1, 1>, 0.5 pigment{ color rgb <0,1,0> } }


// ground plane
plane
{
    y, 0
    pigment{ color rgb <1,1,1> }
}



light_source
{
    <100,100,-100>
    color rgb <1,1,1>
}



camera
{
    location  < 0, 6,-6>
    look_at   < 0, 2, 0>
}


//---------------------------------

The placement of the cones is different between 3.6 and 3.7 beta 35 (3.6 is
correct)


-Reactor


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.